﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Write.Application.Common.Leave
{
    public class UpdateLeaveCommon:IRequest<ApiResult<int>>
    {
        public int leaveId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string leaveName { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public int typeId { get; set; }
        /// <summary>
        /// 请假时间
        /// </summary>
        public DateTime leaveTime { get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime EndleaveTime { get; set; }

        /// <summary>
        /// 请假原因
        /// </summary>
        public string cause { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string? DepartmentManager { get; set; }
        public int Sates { get; set; }
        /// <summary>
        /// 总工时
        /// </summary>
        public int Number { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelId { get; set; }
        public string typeIds { get; set; }
    }
}
